package com.asen.commons.core.base.service;

import com.asen.commons.core.base.domain.Generic;

/**
 * 通用service接口
 *
 * @author Gary
 * @version 1.0
 * @date 2018-12-10
 */
public interface GenericService<T extends Generic> extends CoreBaseService<T> {

    /**
     * 检查某些字段是否重复
     */
    void checkDupByFields(T model, String... fields) throws Exception;
}
